package cn.exrick.xboot.modules.transport.gps.dto;

import lombok.Data;

@Data
public class GpsQueryLocationRequest {

    private final String module = "location";
    private final String func = "QueryLocation";
    private final GpsQueryLocationRequest.GpsQueryLocationParams params;

    public GpsQueryLocationRequest() {
        this.params = new GpsQueryLocationRequest.GpsQueryLocationParams();
    }

    @Data
    public static class GpsQueryLocationParams {
        // 分页参数（可选）
        private Long last_time;

        // 分页参数（可选）
        private String last_imei;

        // 分页大小
        private Integer limit_size = 1000;

        // 加密设备号（设备号登录时可不传）
        private String simei;

        // 时间范围 时间戳
        private Long time_begin;

        private Long time_end;
    }
}
